#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>


int main()
{
	int arr[10] = { 0 };
	int i = 0;
	while (scanf("%d", &arr[i])!=EOF)
	{
		i++;
		if (i > 9)
		{
			break;
 		}
			
	}
	for (i = 0; i < 10; i++)
	{
		int tmp = 0;
		for (int k = 0; k < 10 - i-1; k++)
		{
			if (arr[k] > arr[k + 1])
			{
			tmp = arr[k];
			arr[k] = arr[k + 1];
			arr[k + 1] = tmp;
			}
			
		}
	}
	for(i = 0; i < 10; i++)
	{
		printf("%d ", arr[i]);

	}
	
}

